package com.wst.service.impl.rfid;

import com.wst.entity.rfid.WmOmNoticeHEntity;
import com.wst.mapper.rfid.WmOmNoticeHMapper;
import com.wst.service.rfid.WmOmNoticeHService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WmOmNoticeHServiceImpl implements WmOmNoticeHService {

    @Autowired
    private WmOmNoticeHMapper wmOmNoticeHMapper;

    @Override
    public int save(WmOmNoticeHEntity wmOmNoticeHEntity) {
        return wmOmNoticeHMapper.save(wmOmNoticeHEntity);
    }

    @Override
    public List<WmOmNoticeHEntity> findAll() {
        return wmOmNoticeHMapper.findAll();
    }
}
